import { lazy } from "react";

// 懒加载所有自定义图标组件
const Gitee = lazy(() => import("./gitee"));
const Github = lazy(() => import("./github"));
const Wechat = lazy(() => import("./wechat"));
const Google = lazy(() => import("./google"));
const Facebook = lazy(() => import("./facebook"));

// 自定义图标映射
const SocailIcons = {
  gitee: Gitee,
  github: Github,
  wechat: Wechat,
  google: Google,
  facebook: Facebook,
};

// 导出单个图标组件
export { Gitee, Github, Wechat, Google, Facebook, SocailIcons };
